package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;
import java.util.Date;


/**
 * 家教授课
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2023-04-07 22:14:59
 */
@TableName("shoukeanpai")
public class ShoukeanpaiEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public ShoukeanpaiEntity() {
		
	}
	
	public ShoukeanpaiEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 授课编号
	 */
					
	private String shoukebianhao;
	
	/**
	 * 授课标题
	 */
					
	private String shoukebiaoti;
	
	/**
	 * 授课时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date shoukeshijian;
	
	/**
	 * 授课详情
	 */
					
	private String shoukexiangqing;
	
	/**
	 * 教师账号
	 */
					
	private String jiaoshizhanghao;
	
	/**
	 * 教师姓名
	 */
					
	private String jiaoshixingming;
	
	/**
	 * 学生账号
	 */
					
	private String jiazhangzhanghao;
	
	/**
	 * 学生姓名
	 */
					
	private String jiazhangxingming;

	private String shoukedidian;


	/**
	 * 是否审核
	 */

	private String sfsh;

	/**
	 * 审核回复
	 */

	private String shhf;

	public String getSfsh() {
		return sfsh;
	}

	public void setSfsh(String sfsh) {
		this.sfsh = sfsh;
	}

	public String getShhf() {
		return shhf;
	}

	public void setShhf(String shhf) {
		this.shhf = shhf;
	}

	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getShoukebianhao() {
		return shoukebianhao;
	}

	public void setShoukebianhao(String shoukebianhao) {
		this.shoukebianhao = shoukebianhao;
	}

	public String getShoukebiaoti() {
		return shoukebiaoti;
	}

	public void setShoukebiaoti(String shoukebiaoti) {
		this.shoukebiaoti = shoukebiaoti;
	}

	public Date getShoukeshijian() {
		return shoukeshijian;
	}

	public void setShoukeshijian(Date shoukeshijian) {
		this.shoukeshijian = shoukeshijian;
	}

	public String getShoukexiangqing() {
		return shoukexiangqing;
	}

	public void setShoukexiangqing(String shoukexiangqing) {
		this.shoukexiangqing = shoukexiangqing;
	}

	public String getJiaoshizhanghao() {
		return jiaoshizhanghao;
	}

	public void setJiaoshizhanghao(String jiaoshizhanghao) {
		this.jiaoshizhanghao = jiaoshizhanghao;
	}

	public String getJiaoshixingming() {
		return jiaoshixingming;
	}

	public void setJiaoshixingming(String jiaoshixingming) {
		this.jiaoshixingming = jiaoshixingming;
	}

	public String getJiazhangzhanghao() {
		return jiazhangzhanghao;
	}

	public void setJiazhangzhanghao(String jiazhangzhanghao) {
		this.jiazhangzhanghao = jiazhangzhanghao;
	}

	public String getJiazhangxingming() {
		return jiazhangxingming;
	}

	public void setJiazhangxingming(String jiazhangxingming) {
		this.jiazhangxingming = jiazhangxingming;
	}

	public String getShoukedidian() {
		return shoukedidian;
	}

	public void setShoukedidian(String shoukedidian) {
		this.shoukedidian = shoukedidian;
	}

	public Date getAddtime() {
		return addtime;
	}

	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}
}
